#pragma once

#ifndef LADDER_H
#define LADDER_H

#include "Entity.h"

class Ladder : public Entity
{
private:
	D3DXVECTOR3 worldPosition;
	D3DXVECTOR3 position;
	int levelID;
public:
	Ladder(D3DXVECTOR3 position, IDirect3DTexture9* texture, int levelID)
		: Entity(position, texture, "Ladder")
	{
		worldPosition = position;
		this->levelID = levelID;
	}
	~Ladder() { }
	void update(float frameTime);
	void draw(ID3DXSprite* sprite);
	IDirect3DTexture9* getTexture() { return texture; }
	int getID() { return levelID; }
};

#endif